Get Mardkown Heading Anchor Text
(5 actions, 4 KB)
0 Comment
This shortcut generates heading ids based on [github-slugger](https://github.com/Flet/github-slugger?tab=readme-ov-file#usage).
1 Replace Text
[^\w\s]
with
in
[Shortcut Input]
ใยป
ReplaceTextRegularExpression
:
true
2 Change
[1 Updated Text]
to
lowercase
ใยป
3 Replace Text
\u{space}
with
-
in
[2 Updated Text]
ใยป
4 Stop and Output
[3 Updated Text]